package hhm.map;

import hhm.pojo.Menber;

import java.util.HashMap;

public class MenberMap extends HashMap<Integer, Menber> {

	@Override
	public Menber put(Integer key, Menber value) {

		if (Long.parseLong(this.get(key).getScore()) <= Long.parseLong(value
				.getScore())) {
			this.remove(key);
		}

		return super.put(key, value);
	}

}
